package com.ljfresh.customer.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author: Lucifer
 * @time: 2020/4/6-10:05
 */
@ApiModel("工单对象")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class WorkOrder implements Serializable {

    @ApiModelProperty("工单ID")
    private String id;

    @ApiModelProperty("门店代码")
    private String storeId;

    @ApiModelProperty("门店名称")
    private String storeName;

    @ApiModelProperty("待回复人邮箱")
    private String email;

    @ApiModelProperty("调入单编号")
    private String order_fid;

    //保修类型 1. 2. 3.
    @ApiModelProperty("工单类型 0.百货退货异常 1.价格异常 2.质量异常 3.到货异常 ")
    private Integer orderType;

    @ApiModelProperty("到货时间")
    private String arrivalTime;

    @ApiModelProperty("主题")
    private String subject;

    @ApiModelProperty("异常商品代码")
    private String goodsId;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("结算单位")
    private String goodsUnit;

    @ApiModelProperty("结算单价")
    private String pricePerUnit;

    @ApiModelProperty("结算数量")
    private String goodsNum;

    @ApiModelProperty("实际到货数/退货数量/异常商品数量")
    private String realGoodsNum;

    @ApiModelProperty("创建人")
    private String creator;
    
    @ApiModelProperty("创建时间")
    private String createTime;

/*    @ApiModelProperty("凭证")
    private List<String> voucher;*/

    @ApiModelProperty("电话")
    private String cellphone;

    @ApiModelProperty("凭证(附件)")
    private List<Attachment> attachments;

    /**
     * 1、处理中  2、已处理  3、已拒绝
     */
    @ApiModelProperty("状态")
    private String status;

    //private AbnormalGoods abnormalGoods;
}